---
--类名: NpcFadeEvent.lua
--创建日期: 2015-7-2
--创建人: 陈小虎
--功能描述: npc渐变事件
--修改内容：
--修改日期:   
--修改人:     
--修改备注: 
--

local Event = import(".Event")

local NpcFadeEvent = class("NpcFadeEvent",function()
    return Event.new()
end)

function NpcFadeEvent:ctor(params)
	self:setEventName(params.event)

	self.mNpcId = params.npcId
	self.mOpacity = params.opacity
	self.mTime = params.time
	self.mImmediately = params.immediately
	if params.delayTime then
		self.mDelayTime = params.delayTime
	else
		self.mDelayTime = 0
	end
end

return NpcFadeEvent